package com.cjw.pojo.dto.eventTracking;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author : cjw
 * @date: : 2022/3/22 20:21
 * @description : 埋点DTO
 */
@Data
@ApiModel("埋点DTO")
public class EventDTO {
    @ApiModelProperty("id")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;

    @ApiModelProperty("埋点名称")
    private String name;

    @ApiModelProperty(name = "埋点状态", notes = "0-停止 1-使用")
    private Integer state;

    @ApiModelProperty(name = "类型", notes = "1-增 2-删 3-改 4-查")
    private String type;

    @ApiModelProperty("资源id")
    private String resourceName;

}
